a{
    color: #666;
    text-decoration: none;
}

body{
    background-color: #f5f5f5;
}

.container{
    background-color: #fff;
}

a:hover{
    text-decoration: none;
}

ul{
    list-style-type: none;
    margin: 0;
    padding:0;
}

@media screen and (min-width:1280px) {
    .container{
        width: 1280px;
    }
}


/* header */
header{
    padding-left: 0px !important;
}

/* 1、我们如果进入了超小屏幕下  logo里面的图片就隐藏起来 */

/* 2、我们事先准备好一个盒子  在Logo里面，它平时是隐藏起来的，只有在超小屏幕下显示 */


.logo{
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    width: 100%;
}

.logo span{
    display: block;
    height: 50px;
    line-height: 50px;
    color: rgb(51, 41, 41);
    font-size: 18px;
    text-align: center;
    width: 100%;
}

.logo img{
    /* width: 100%; */
    max-width: 100%;
    margin:0 auto;
    display: block ;
    height: 80px;
}

.nav{
    background-color: #eee;
    border-bottom: 1px solid #ccc;
}

.nav a{
    display: block;     /* 变成块级元素 */
    height: 50px;
    line-height: 50px;
    padding-left: 30px;
    font-size: 16px;
}

.nav>a:hover{
    background-color: #fff;
    color: #333;
}

.nav a::before{
    vertical-align: middle;
    padding-right: 5px;
}


/* article */

.news li{
    float: left;
    width: 25%;
    min-height: 133px;
    border:1px solid #ccc;
    padding-right: 10px;
    background-color: aqua;
    
}

/* 当我们进入 小屏幕 还有 超小屏幕的时候 我们nav里面的Li浮动起来  宽度为20%||flex :1 */
@media screen and (max-width:991px) {
    .nav li{
        float: left;
        width: 20%;
    }

    artical{
        margin-top: 10px;
    }
   
    
}
/* 当我们进入 超小屏幕的时候 文字变成14px*/

@media screen and (max-width:767px) {
    .nav li a{
        font-size: 14px;
        padding-left: 0;
    }
    .logo{
        background-color: rgb(80, 151, 245);
    }
/* 当我们处于超小屏幕 第一个Li宽度为100% 剩下的小li 各50% */
    .news li:nth-child(1){
        width: 100% !important;
    }
    .news li{
        width: 50% !important;
    }

    .publish h3{
        font-size: 14px;
    }
}


.news li a{
    display: block;
    width: 100%;
    height: 100%;
    position: relative;
}

.news li a img{
    width: 100%;
    height: 100%;
}

.news li:nth-child(1){
    width: 50%;
    height: 266px;
    background-color: pink;

}

.news li:nth-child(4){
    background-image: url(../image/188f-041ed4d06940314b1b8ebc71801417fa.jpg);
    background-repeat: no-repeat;
    background-size: 100% 100%;
}

.news li:nth-child(5){
    background-image: url(../image/188f-041ed4d06940314b1b8ebc71801417fa.jpg);
    background-repeat: no-repeat;
    background-size: 100% 100%;
}
.news li:nth-child(3){
    background-image: url(../image/188f-041ed4d06940314b1b8ebc71801417fa.jpg);
    background-repeat: no-repeat;
    background-size: 100% 100%;
}.news li:nth-child(2){
    background-image: url(../image/188f-041ed4d06940314b1b8ebc71801417fa.jpg);
    background-repeat: no-repeat;
    background-size: 100% 100%;
}

.news li:nth-child(1) p{
    line-height: 41px;
    font-size: 20px;
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 41px;
    line-height: 41px;
    background:rgba(0,0,0,0.5);
    font-size: 12px;
    color: #fff;
    margin-bottom: 0!important;
    padding:0 10px;
}



.news li a p{
    position: absolute;
    bottom: -15px;
    left: 5px;
    width: 100%;
    height: 41px;
    line-height: 41px;
    background:rgba(0,0,0,0.5);
    font-size: 12px;
    color: #fff;
    margin-bottom: 0!important;
    padding:0 10px;
}

.publish{
    border-top:1px solid #ccc;
    margin-top: 10px; 
}

.publish>.row{
    border-bottom: 1px solid #ccc;
    padding:0 10px;
}
.str2{
    background-image: url(../image/6741-89b2b45136d0f123244d71624af6ec73.jpg);
    background-repeat: no-repeat;
    background-size: 100% 100%;
    height: 180px;
    width: 100%;
}


/* banner */
.banner>img{
    width: 100%;
}
.hot{
    display: block;
    margin-top: 20px;
    padding:0 20px 20px ;
    border: 1px solid #ccc;
}

.hot span{
    border-radius: 0;
    margin-bottom: 20px;
}

.hot p{
    font-size: 12px;
}